MBM 5 as Service
MBM 5 was never designed as a Service, later I tried to recode it a bit so it would work but soon came to the conclusion that I had to restart from scratch, which I am not planning to do right now.
However below is the explenation of a MBM 5 user by the name of Andrew Sasak who has managed to get MBM 5 working as a service together with SHDN:
-----Original Message-----
From: Andrew Sasak [mailto:sasakand@xxx.xxx]
Sent: dinsdag 24 april 2001 19:32
To: Alexander van Kaam
Subject: Re: messing with MBM as service
Success!!!
Thank you for the info, your suggestion made all the difference.
I'll tell you what I did, and how
I did it. First I'm using FireDaemon from
http://www.firedaemon.com/. I enabled its auto-restart option, I
think this is
necessary to get MBM to remain running during log offs, etc.
Also, make sure to
disable the MBM option to run when windows starts.
Then to get SHDN to work (running
Win2000) I exported the
HKEY_CURRENT_USER\Software\DynamicWorlds registry entry using
regedit,
then I edited this registry file and using NOTEPADS replace
function changed
HKEY_CURRENT_USERS to HKEY_USERS\.DEFAULT everywhere it appeared.
Then double clicking on the reg file adds the appropriate keys to
your registry.
I tested it both logged off and
logged on, and both ways it shutsdown.
One thing I did notice though, when logged on and alarm
occurence, it logs off,
which closes MBM, which is then automatically restarted. Then
while it is
shutting down, another alarm occurs. However this does not cause
the shutdown to
hang, and the shutdown and continues..
Another thing ... it would be good
to notify people that SHDN will wait for a
response to shutdown if it is unregistered after 2 weeks. I'm
sure not
everybody realizes this, and it could be disastrous for people
who are depending
on it if there cpu ever reaches a dangerous level.
Andrew Sasak